Chameleoon MAX · Integrations
errorReports query
errorReports is a GraphQL query of the Chameleoon MAX API. Send it as POST https://max-api.chameleoon.sk/api/v1/graphql with your API key, see Chameleoon MAX.
Returns the error reports on one record, most recently seen first. Use it to show your users what MAX knows went wrong with a record.
- The filter names one record (
subject). lastSeenAtmoves when a report recurs, so a report that recurs while you page moves to the first page.- Requires the record's read permission. Without it, the error is
FORBIDDEN_ROLEnaming it. - The record must be in your API key's scope. Otherwise the error is
NOT_FOUNDwith the fieldfilter.subject.
A connection, paged with first/after or last/before, at most 250 a page. Pass exactly
one of first or last, from 1 to 250. first (with after) pages forward; last (with
before) pages backward. last alone returns the last page.
A page costs 2 + first (or last) × the cost of one node.
Arguments
filter:ErrorReportFilter!· requiredfirst:Intafter:Stringlast:Intbefore:String
Returns
ErrorReportConnection!: a page of ErrorReport.
Example
Query
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.