Skip to content

Fix: Unknown error: soap-error: encoding: object has no uirequestid property

  • by
  • 2 min read
Top 7 games for kids to learn coding | Candid.Technology

There are a lot of programs used on business backends that might not be as simple as they appear at first sight. Salesforce’s customer relationship management and workbench programs are good examples of this. While being easy to get used to, they do often throw an unrecognised error the user’s way. 

In this article, we’re talking about the “unknown error: soap-error: encoding: object has no uirequestid property” error when using Salesforce Workbench, its causes and what you can do to fix the problem.


What causes this error?

The error is mostly caused by an outdated version of Workbench or an issue in your code. Other possible causes include:

  • Outdated connection request. 
  • Internet connectivity issues.
  • Issues with Salesforce. 

Also read: What is the unexpected reserved word await error in Javascript?


How to fix this?

Here are three fixes you can try out.

Restart your router

Power cycling your network equipment is the fix to more issues than you can think. More often than not, connectivity issues can be caused by an underlying bug in your router and can be fixed by rebooting.


Update the program

The Workbench API started throwing this error since version 54. So if you’re using it, either upgrading to the latest version (56) or downgrading to version 50.0 should fix the issue for you. 


Use objects instead of arrays

If you’re getting this error when writing PHP code, there’s a good chance that the code is using arrays instead of objects. Arrays can be confusing in this regard and objects offer a far better implementation method as well. Do keep in mind however that you’ll have to map the objects exactly as they appear in the WSDL and you must assign values to all of them in your instance. 

What is Metadata? Types and benefits | Candid.Technology
Photo by Shahadat Shemul

Also read: What causes the 422 error? 3 quick fixes

>