Issues with setting up workspace one UEM SGC

Jack62
Giga Guru

Morning all

 

We are in the process of setting up the SGC for the workspace one UEM integration and we have run into an issue which might be WSO side but we are troubleshooting from both sides. We have a connection that returns a token but it fails whenever we add anything to the base URL for instance https://as1234.awmdm.com/API/ works fine and brings back records however they are unfiltered. As soon as we add structure after /API/ such as https://as1234.awmdm.com/API/mdm/devices/search?lgid=4713&page=1&pagesize=20000 we get the below error

 

org.mozilla.javascript.JavaScriptException: com.glide.plan.runners.FlowObjectAPIException: The current operation ended in state: ERROR. Detail: Malformed url encountered (sys_script_include.eb1199b253d03010f306ddeeff7b12e3.script; line 128)

 

Thankyou in advance

1 REPLY 1

Ratnakar7
Mega Sage
Mega Sage

Hi @Jack62 ,

 

The error message you're encountering, "Malformed URL encountered," suggests that there might be an issue with the URL you are using in your integration setup with Workspace ONE UEM (formerly known as AirWatch).

Here are some troubleshooting steps you can follow:

  1. Check URL Format: Ensure that the URL you are using is in the correct format. It should include the protocol (e.g., https://), the hostname (e.g., as1234.awmdm.com), and the API endpoint path (e.g., /API/mdm/devices/search). Make sure there are no extra spaces or special characters in the URL.

  2. Verify Authentication: Ensure that you are properly authenticating your requests to the Workspace ONE UEM API. Some APIs may require authentication tokens or API keys in the request headers. Verify that you are including the necessary authentication information in your requests.

  3. API Endpoint: Double-check the API endpoint path you are using (/API/mdm/devices/search). Make sure it is a valid endpoint in the Workspace ONE UEM API. You can refer to the Workspace ONE UEM API documentation to confirm the correct endpoint and parameters.

  4. Test in Postman or Curl: Try using a tool like Postman or Curl to send requests to the API with the same URL and parameters. This can help you verify if the issue is specific to your integration or if there is an issue on the Workspace ONE UEM side.

  5. Check Permissions: Ensure that the user or service account used for the integration has the necessary permissions to access the specified API endpoints in Workspace ONE UEM.

  6. Review Logs: Review the logs or error messages from the Workspace ONE UEM side. It's possible that there is additional information in their logs that can help pinpoint the issue.

  7. Contact Support: If you continue to face issues, consider reaching out to Workspace ONE UEM support for assistance. They can provide guidance and troubleshooting specific to their platform.

  8. Network Issues: Check for any network-related issues that might be affecting the connectivity between your system and the Workspace ONE UEM server.

 

Thanks,

Ratnakar