HTTP status code as 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 02:08 AM
Hi All,
While trying to post attachments from ServiceNow to jira via rest message Im getting the status code as 0 and response as null. Does anyone have idea on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 03:00 AM
This sounds like you have a networking issue between your system and your Jira. Or that the call you are making is wrong somehow (a Cors error could be a network issue or a malformed request). It's also possible that running your application on "localhost" is a problem because that means "this machine" and limits networking.
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.
********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect
Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 03:59 AM - edited 12-02-2024 04:00 AM
Hi ,
If so the issue(ticket in jira) wont be created right?. But for my case issue is getting created post that im trying to add an attachment to the issue that states the code as 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 03:28 AM
Hi @VengadeshB52217,
A HTTP response code 0 essentially means that there is no response.
For troubleshooting I like to use an alternative tool such as Postman making the same API call or even making a handshake with the system (In your case Jira) just to isoltae where the issue may be as well as checking connections etc.
Check the below Jira community:
To help others (and for me to gain recognition for my efforts), please mark this response correct by clicking on Accept as Solution and/or Kudos.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2024 04:05 AM
Hi @Robbie ,
It an onpremise jira software.I cant able to go with postman