Skip to main content
Question

Incident IQ Api

  • April 26, 2022
  • 3 replies
  • 1060 views

Forum|alt.badge.img+2

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

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

3 replies

JAdkins_iiQ
Forum|alt.badge.img+15
  • iiQ Community Manager
  • April 27, 2022

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!


Forum|alt.badge.img+2
  • Observer
  • November 29, 2022

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?

 


Hannah Bailey
Forum|alt.badge.img+17
  • iiQ Community Manager
  • December 2, 2022

@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.