US English (US)
GB English (UK)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Create ticket
English (US)
US English (US)
GB English (UK)
  • Home
  • Install and Configure

Agent fails to register with: A transient HTTP error occurred while contacting PSP server: Error code: InternalServerError

Written by Conrad Murray

Updated at November 3rd, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
  • FAQs
  • API Documentation
  • Integrations
  • Migration Agent
  • Directory Synchronisation
  • Remote DC agent
  • Remote Password Sync Agent
  • Install and Configure
  • Support
  • Complex Expressions
+ More

Recently at a client we saw this error when the workstation was trying to register.

(TLDR: invalid Pre Shared Key “PSK”)

Category: Agent API
EventId: 0
HttpMethod: POST
Uri: https://powersyncpro.contoso.com/Agent/register
{OriginalFormat}: HTTP {HttpMethod} {Uri}

 A transient HTTP error occurred while contacting PSP server: Error code: InternalServerError - InternalServerError. Waiting for 1 minute(s), then making retry 1. Response was: 

Followed by:

Category: Agent Registration EventId: 0 Unsuccessful response from the server: Bad Request

Category: Agent Registration EventId: 0 Failed to complete initial register call: Unknown Reason

 

What had happened was that the Pre Shared Key that was generated started with the letter i

iYZWy48KQzUsNwHGcgtOYKM9iSRcQzbdPZDp47ZRW/Gajm4RMBYIYycIIFRlpswp

But when it was emailed to the engineer to update the Intune deployment package Outlook converted the first character upper case.

IYZWy48KQzUsNwHGcgtOYKM9iSRcQzbdPZDp47ZRW/Gajm4RMBYIYycIIFRlpswp

As another note to check for errors, the full Command line arguments for the Intune App Deployment was also missing a starting double quote around the URL as well as the wrong case for the first letter.

PSK="IYZWy48KQzUsNwHGcgtOYKM9iSRcQzbdPZDp47ZRW/Gajm4RMBYIYycIIFRlpswp" URL=https://powersyncpro.contoso.com/Agent" /L*v c:\pspinstall.log

The correct whole command line argument should have been:

PSK="iYZWy48KQzUsNwHGcgtOYKM9iSRcQzbdPZDp47ZRW/Gajm4RMBYIYycIIFRlpswp" URL="https://powersyncpro.contoso.com/Agent" /L*v c:\pspinstall.log

 

unregistered noncompliant

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Agent Register initial request failed: Machine not in PSP
  • Attempting to generate a Bulk Enrolment Token returns blank browser window
  • Clean uninstall of PowerSyncPro Migration Agent

Subscribe to Newsletter

Drop your email in the box below to sign up. We promise to keep our updates relevant and useful – and we’ll never share your details.

PowerSyncPro is the ultimate product for easing the pain and frustration during mergers, acquisitions, divestitures, and consolidations.

Terms & Conditions

  • FAQs
  • Privacy Policy
  • Cookies
  • Anti Slavery Notice

PowerSyncPro

  • Case Studies
  • Contact sales
  • Meet the Team
  • EULA

Get Connected

Room 73, Wrest House, Wrest Park, Silsoe, Bedford, England, MK45 4HR
info@powersyncpro.com

Twitter Youtube Linkedin

Knowledge Base Software powered by Helpjuice

Expand