REST API failing

Hi, 

we are  creating a web application that would allow us to post information into sugar using the rest API. It seems to work fine in test environment  i.e. when the application is hosted on a local machine but as soon as it is hosted on the web server (azure) the API fails. It creates blank records and does not add any information to them. What are we missing?! 

Thanks!

Parents
  • Hello!

    When you were testing web-application on local machine and on Azure, the SugarCRM instance was in one place, i.e. end-point wouldn't change?

    Thank you!

  • We are missing an enormous amount of data here. 

    1) did the server where you post to change? 

    2) is the user the same? And if not does the user have the correct roles/teams?

    3) is the module you are posting to the same. Same fields, same config ?

    4) are you getting any error responses back? 

    5) can you provide us with a sample of data that works and the sample that does not seem to work?

    6) are there any errors in the sugar/php log of the instance you are posting to? 

    7) the blank fields are these dropdown fields? And if yes are the keys correct.

Reply
  • We are missing an enormous amount of data here. 

    1) did the server where you post to change? 

    2) is the user the same? And if not does the user have the correct roles/teams?

    3) is the module you are posting to the same. Same fields, same config ?

    4) are you getting any error responses back? 

    5) can you provide us with a sample of data that works and the sample that does not seem to work?

    6) are there any errors in the sugar/php log of the instance you are posting to? 

    7) the blank fields are these dropdown fields? And if yes are the keys correct.

Children
No Data