Skip to main content
Solved

Metadata not found for CreateCustomerOrder


Forum|alt.badge.img+5

Hi,

I’m trying to create a customer order record using below REST API call via POSTMAN
https://cutomer-test-env/int/ifsapplications/projection/v1/CustomerOrderService.svc/CreateCustomerOrder

 

{

    "OrderRequest": {

        "CustomerPoNo": "AKMTEST002",

        "Customer": "**TES536",

        "OrderType": "ASN",

        "Site": "RODDA",

        "Coordinator": "*"

    }

}

 

But I’m getting ‘Metadata not found’ error continuously when trying to create a Customer Order via POSTMAN.

 

Little bit background of this.

We have recently request to enable ORDSRV component for this customer and solutionset.yaml file delivered to this customer environment recently.

Can anyone have idea about this?

 

Best answer by Asanka Dissanayake

Hi,

Metadata not found is a common issue for the most cases, in my case issue was due to a workflow related to the Customer Order area. After event disabled REST API call worked as expected.

We could identify the issue by seeing odata debug information on the Postman, by adding ?odata-debug=json to the end of the request url we can see the odata debug information which can be helped to find any issues.


Thanks & Regards,
Asanka.

View original
Did this topic help you find an answer to your question?

7 replies

Kasun Balasooriya
Superhero (Employee)
Forum|alt.badge.img+20

@Asanka Dissanayake ,

Have you looked at the following thread? 
REST API call - Metadata Error | IFS Community

 

Thanks,

Kasun


Forum|alt.badge.img+5
Kasun Balasooriya wrote:

@Asanka Dissanayake ,

Have you looked at the following thread? 
REST API call - Metadata Error | IFS Community

 

Thanks,

Kasun

Yes, but in that case it was an issue with the url. I have copied from the API Explore and I’m using Bearer Token for the Authentication not the Basic Auth.


Kasun Balasooriya
Superhero (Employee)
Forum|alt.badge.img+20

@Asanka Dissanayake  Can you try to invoke some other action from the same projection like GetCustomerOrder and see if you get errors? 

 

Thanks,

Kasun


Forum|alt.badge.img+5
Kasun Balasooriya wrote:

@Asanka Dissanayake  Can you try to invoke some other action from the same projection like GetCustomerOrder and see if you get errors? 

 

Thanks,

Kasun

I’m not getting this error when accessing GetCustomerOrder. It’s giving the expected results.

 

Thanks & Regards,
Asanka.


Kasun Balasooriya
Superhero (Employee)
Forum|alt.badge.img+20

@Asanka Dissanayake , I'm not certain that I can provide additional assistance without examining the environment. Let's wait for input from the community. If this matter requires immediate attention, please submit a case, and we'll do our best to offer further support.

 

Thanks,

Kasun


Forum|alt.badge.img+5
Kasun Balasooriya wrote:

@Asanka Dissanayake , I'm not certain that I can provide additional assistance without examining the environment. Let's wait for input from the community. If this matter requires immediate attention, please submit a case, and we'll do our best to offer further support.

 

Thanks,

Kasun

@Kasun Balasooriya , Thanks. Already reported via case CS0156526 

 

Regards,
Asanka.


Forum|alt.badge.img+5

Hi,

Metadata not found is a common issue for the most cases, in my case issue was due to a workflow related to the Customer Order area. After event disabled REST API call worked as expected.

We could identify the issue by seeing odata debug information on the Postman, by adding ?odata-debug=json to the end of the request url we can see the odata debug information which can be helped to find any issues.


Thanks & Regards,
Asanka.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings