Community
BIM 360 API Forum
Welcome to Autodesk’s BIM 360 API Forums. Share your knowledge, ask questions, and explore popular BIM 360 API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

360 Field - Issue update - Unauthorized

1 REPLY 1
Reply
Message 1 of 2
mnelson-disney
345 Views, 1 Reply

360 Field - Issue update - Unauthorized

mnelson-disney
Participant
Participant

When accessing the endpoint: "POST /fieldapi/issues/v1/update"

 

(https://bim360field.autodesk.com/apidoc/index.html#issues_api_method_12)

 

using a conformant JSON payload (seen below)

{
  "ticket": "<TICKET>",
  "project_id": "<PROJECT_ID>",
  "issues": [
    {
      "id": "<ISSUE ID>",
      "fields": [
        {
          "id": "f--status",
          "value": "Open"
        }
      ]
    }
  ]
}

The response waivers between a 500 and a 401 HTTP status code.

 

I have confirmed my Ticket is value on other endpoints, and that I am an Admin on the project as well as I am an account admin...

 

Pleae help me to know what is going on here....

 

0 Likes

360 Field - Issue update - Unauthorized

When accessing the endpoint: "POST /fieldapi/issues/v1/update"

 

(https://bim360field.autodesk.com/apidoc/index.html#issues_api_method_12)

 

using a conformant JSON payload (seen below)

{
  "ticket": "<TICKET>",
  "project_id": "<PROJECT_ID>",
  "issues": [
    {
      "id": "<ISSUE ID>",
      "fields": [
        {
          "id": "f--status",
          "value": "Open"
        }
      ]
    }
  ]
}

The response waivers between a 500 and a 401 HTTP status code.

 

I have confirmed my Ticket is value on other endpoints, and that I am an Admin on the project as well as I am an account admin...

 

Pleae help me to know what is going on here....

 

1 REPLY 1
Message 2 of 2

mikako_harada
Community Manager
Community Manager

Hi Matt, 

 

I tested it myself. It works for me.  So at least that means the API itself is functioning. 

 

Here is a few tips for trableshooting. 

https://fieldofviewblog.wordpress.com/2016/09/13/troubleshooting-tips-making-rest-calls/

 

For example, using postman, input data looks like this: 

 

postman field issue create.png

 

where, issues value is like:

[{"id":"012ddddd-dddd-44ed-9fa2-ff7b840ddddd","fields":[{"id":"f--description","name":"Description","display_type":"textarea","value":"My issue API"}]}]

 

if you click on a "Code" button, you will be presented with a choice of programming language, and gives you a code snippet as well. 

 

I hope this helps. 


Mikako Harada
Developer Technical Services
0 Likes

Hi Matt, 

 

I tested it myself. It works for me.  So at least that means the API itself is functioning. 

 

Here is a few tips for trableshooting. 

https://fieldofviewblog.wordpress.com/2016/09/13/troubleshooting-tips-making-rest-calls/

 

For example, using postman, input data looks like this: 

 

postman field issue create.png

 

where, issues value is like:

[{"id":"012ddddd-dddd-44ed-9fa2-ff7b840ddddd","fields":[{"id":"f--description","name":"Description","display_type":"textarea","value":"My issue API"}]}]

 

if you click on a "Code" button, you will be presented with a choice of programming language, and gives you a code snippet as well. 

 

I hope this helps. 


Mikako Harada
Developer Technical Services

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report