jamf / mut

MIT License
133 stars 10 forks source link

Does not change any Value after Upload #88

Open kkug10290 opened 2 years ago

kkug10290 commented 2 years ago

Hi Guys,

i have an issue when Uploading my csv to Jamf Pro.

I got following errors :

2022-08-19 11:42:30 [INFO ]: Beginning CSV Parse - Attributes update. 2022-08-19 11:42:30 [INFO ]: Attempting to GET the Jamf Pro Version from the API. 2022-08-19 11:42:30 [INFO ]: Successful GET completed. 200. 2022-08-19 11:42:30 [INFO ]: Jamf Pro Version: 10.40.1-t1659581750 2022-08-19 11:42:30 [INFO ]: Submitting a PUT to https://xxxxx.jamfcloud.com/JSSResource/mobiledevices/serialnumber/F9FZP0W2MF3Q 2022-08-19 11:42:30 [ERROR ]: Failed PUT. 403. 2022-08-19 11:42:30 [ERROR ]:

Status page

Forbidden

The server understood the request, but is refusing to fulfill it

You can get technical details here.
Please continue your visit at our home page.

2022-08-19 11:42:30 [INFO ]: Submitting a PUT to https://xxxxxx.jamfcloud.com/JSSResource/mobiledevices/serialnumber/xxxxxxxx 2022-08-19 11:42:30 [ERROR ]: Failed PUT. 403. 2022-08-19 11:42:30 [ERROR ]:

Could you guys please help me to solve the issue. It would really help us in our Daily Business. Kind Regards
apirkl commented 1 year ago

Hey @kkug10290! if you've already moved past this just let us know, but to explain the problem:

A 403 error means the account used to access the resource doesn't have the correct permissions. See: https://developer.jamf.com/jamf-pro/docs/getting-started-2

According to: https://developer.jamf.com/jamf-pro/docs/classic-api-minimum-required-privileges-and-endpoint-mapping the account needs these permissions:

Update - Mobile Devices Update - Users

So the first step is to make sure the account you're logging into the mut with has those permissions.

If that still fails does switching to the most up to date version of the mut change the error?