Discussions

Ask a Question
Back to All

Attachment APIs

Hi, I use Service M8 APIs. There is no problem with them but when I want use Attachment APIs (attachment.json), I got this error:
StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
X-EXHDR-REQUEST: GET /api_1.0/attachment.json HTTP/1.1
X-EXHDR-REQUEST-HOST: go.servicem8.com
Connection: keep-alive
Strict-Transport-Security: max-age=63072000; includeSubDomains
X-Frame-Options: SAMEORIGIN
X-Cache: Error from cloudfront
X-Amz-Cf-Pop: CDG50-P3
Alt-Svc: h3=":443"; ma=86400
X-Amz-Cf-Id: NGztQ5Ghe4lmdjkRSqD2kdCmiEAw89b10AWOMGwerSQYD25bNx5nwA==
Date: Tue, 17 Jun 2025 06:39:38 GMT
Server: Apache
Via: 1.1 1016669892b94a7d68ce819bad71f67e.cloudfront.net (CloudFront)
Content-Length: 131
Content-Type: application/json
}
I set scops with scope=read_customers%20read_jobs%20read_staff%20read_job_contacts%20read_job_attachments%20publish_job_attachments%20read_customer_contacts
How can I fix it?