Share via

While inserting the customer address getting the "Parent id not set for address type 1071" error

Vamsikrishna Bogireddy 0 Reputation points
2024-07-14T04:49:25.1133333+00:00

I tried to mapping the ParentId field in different ways and i always facing the error.

ParentId Mappings i tried as below

_parentid_value@EntityReference

******@odata.bind

parentid@EntityReference

parentid

Job failed due to reason: Error response from server: Some({"error":{"code":"0x80040205",

"message":"Parent id not set for address type 1071"}}), 

Status code: 400. Please check your request url and body. 

(url:https://dpsi.crm3.dynamics.com/api/data/v9.2/customeraddresses,request 

body: Some({"_parentid_value@EntityReference":"edf3ba63-0cf4-e011-8020-000d56569daf","_ownerid_value@EntityReference":"f06410a0-4d9f-ee11-a569-002248af8950",

"addressnumber":1,

"new_addressid":"749711f5-5859-4b37-a392-aed7f7fc913f"}), request method: POST)

Job failed due to reason: Error response from server: Some({"error":{"code":"0x80060888","message":"URL was not parsed due to an ODataUnrecognizedPathException. Resource not found for the segment provided in the URL."}}), Status code: 400. Please check your request url and body. (url:https://dpsi.crm3.dynamics.com/api/data/v9.2/customeraddresses,request

body: Some({"******@odata.bind":"edf3ba63-0cf4-e011-8020-000d56569daf",

"_ownerid_value@EntityReference":"f06410a0-4d9f-ee11-a569-002248af8950",

"addressnumber":1,"new_addressid":"749711f5-5859-4b37-a392-aed7f7fc913f"}),

request method: POST)
Community Center | Not monitored

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-07-15T08:34:58.96+00:00

    Hi Vamsikrishna Bogireddy,

    Thank you for reaching out to us on the Microsoft Q&A forum.

    This topic is currently not supported in the Q&A forums.

    I recommend initiating a new discussion through the https://community.dynamics.com/

    Moderators are readily available there to assist you and provide guidance.

    Please don't forget to Accept helpful answer and close this thread.

    Was this answer helpful?

    0 comments No comments

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.