# 403 error when trying to retrieve attachments (Oauth2)

**URL:** <https://community.servicem8.com/t/403-error-when-trying-to-retrieve-attachments-oauth2/454>\
**Category:** API & SDK\
**Created:** [November 22, 2023, 11:40am UTC](https://community.servicem8.com/t/403-error-when-trying-to-retrieve-attachments-oauth2/454 "2023-11-22T11:40:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@developer](https://community.servicem8.com/u/developer)\
**Post date:** [November 22, 2023, 11:40am UTC](https://community.servicem8.com/t/403-error-when-trying-to-retrieve-attachments-oauth2/454/1 "2023-11-22T11:40:30Z")

</div>

**Originally posted by Matthew Hurt**

I am getting a 403 error (Insufficient Scope) whenever I try to retrieve attachments via an Oauth2 connection.  
The error message says “"read\_attachments" scope required to complete this request”

But I have included the read\_attachments scope in my Oauth2 connection.  
I have tried adding “manage\_attachments” “read\_job\_attachments” and “publish\_attachments” to the scope, but I’m getting a 403 error whenever I send a request.

I can access and use the attachments endpoint using basic authorisation, but need to use multiple Oauth2 endpoints in the workflow that I am using, so don’t know what else to try here.

![]()

![]()

![]()
