0
Corrigé

500 code API

Alexandr Tryakin il y a 9 ans mis à jour par tech il y a 9 ans 6

Error 500 when adding the project through API

Solution

Solution

Hi Alexandr,


We've fixed the issue.


Thanks for letting us know.

Hi Alexandr,


Can you send us the payload you sent to the API?

POST /v1/projects/12728/bugs?access_token=******* HTTP/1.1

Host: api.leantesting.com
Accept: */*
Authorization: Bearer ********
Content-Length: 583
Content-Type: application/x-www-form-urlencoded
title=titlehere&status_id=1&severity_id=2&project_version=2.0.31 Beta&type_id=1&assigned_user_id=16186&description=commenthere&expected_results=commenthere&project_section_id=35894
response:500

{"error":true,"error_message":"An server error occurred. Our developers have been notified.","status":500}

POST /v1/projects/12728/bugs?access_token=******* HTTP/1.1

Host: api.leantesting.com
Accept: */*
Authorization: Bearer ********
Content-Length: 583
Content-Type: application/x-www-form-urlencoded
title=titlehere&status_id=1&severity_id=2&project_version=2.0.31 Beta&type_id=1&assigned_user_id=16186&description=commenthere&expected_results=commenthere&project_section_id=35894
response:500

{"error":true,"error_message":"An server error occurred. Our developers have been notified.","status":500}

Solution

Hi Alexandr,


We've fixed the issue.


Thanks for letting us know.