Skip to main content
Pratik Singh ha fatto una domanda in Field Service Mobile

 I am trying to create service report with the access token received from OAuth 2.0 Client Credentials Flow but when I am creating it the service report which is created is just a blank white page whereas when I am creating service report with the access token received from  OAuth 2.0 Web Server Flow is creating a service in a way it should. If anyone is aware why is it happening then please let me know? And I selected System Admin as a user in Client Credentials Flow.

 

#Salesforce Field Service #Field Service Lightning #Salesforce Developer #API

1 risposta
  1. 23 set 2024, 11:52

    Hi, 

     

    I have encountered a similar problem, so I have a couple of tips

     

    - Ensure the token includes all necessary scopes for report generation

    - Check if the token is still valid and not expired. 

    - Confirm that the System Admin user has the right permissions for creating reports. 

    - Review if there are any differences in API endpoints or parameters between the two flows. 

    - Enable debugging to see if any error messages appear during report creation.

     

    Try to check the points above, maybe something will help

0/9000