Solved Object reference not set to an instance of an object

Atukuri

New Member
Hello,

When I'm trying to make a http request using HTTP VBO, getting exception error message like "Internal : Could not execute code stage because exception thrown by code stage: Object reference not set to an instance of an object."

I heard "Object reference not set to an instance of an object" means object is passing null value to code stage. If yes, how to know which parameter/data item value is null. I cross checked each item, but no luck. Can anyone help me.

PS: for better understanding error screenshot is attached.
 

Attachments

  • sn error.PNG
    45 KB · Views: 140
Hello,

When I'm trying to make a http request using HTTP VBO, getting exception error message like "Internal : Could not execute code stage because exception thrown by code stage: Object reference not set to an instance of an object."

I heard "Object reference not set to an instance of an object" means object is passing null value to code stage. If yes, how to know which parameter/data item value is null. I cross checked each item, but no luck. Can anyone help me.

PS: for better understanding error screenshot is attached.
Hi,
Even i'm also facing the same issue, tried in different ways but no luck as of now. Can you please let me know if you get any solution.

Thanks
 

manzur

New Member
I am also facing same error .Please help me
 

Attachments

  • HTTP Request.jpg
    83.2 KB · Views: 64
  • FlowDiagram.jpg
    31.3 KB · Views: 46

Atukuri

New Member
I didn't find the solution for this.

So, implemented it in different way
1. Goto System > Object > Web API Services
2.
Mention end url, method, header and all other mandatory parameters for successful api hit
3. You can utilize above api service using code stage

I suggest, try to make successful api call through POSTMAN then it would be very easy to do the same from BP.
 
Top