Skip to main content

What is required in the headers and body for the following api:

https://site.incidentiq.com/api/v1.0/profiles/{userid}/picture

Hey @dickeym you can try the following:

 

--header 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36' \--header 'content-type: application/json' \--header 'accept: application/json, text/plain, */*' \--header 'Authorization: Bearer <INSERT API TOKEN HERE>' \

 

let me know if that works for you!


I followed your suggestion and I’m getting an error:

 

{
    "StatusCode": 500,
    "Message": "IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'."
}

 

 

My token is set to expire November of 2025. Any ideas?

 


@erwinty 

We are looking into this and submitted a ticket regarding this error. Will give you an update when we know more. Thanks for your patience. 


Reply