I'm using both endpoints
/rest/posts?q=author&author=encodedPersonUrn
/v2/ugcPosts?q=authors&authors=List(encodedPersonUrn)&sortBy=LAST_MODIFIED
And get
"Field Value validation failed in PARAMETER: Data Processing Exception while processing fields [/author]"
"Field Value validation failed in PARAMETER: Data Processing Exception while processing fields [/authors/authors]"
There is something missing ?
Related
I have created a logic app to receive an http request and validate the content which is fine. But when I receive the 400 error message, it said only that it was expecting an integer but received a string for example. I would like to add the name of the field that generates the error is it possible?
postman response
I added an http response to be executed when the requst fails but it's never triggered.
logic flow
You can assign http response to a variable and then you can check which filed is causing error.
I have reproduced issue from my side and below are steps I followed,
Initially created logic app as shown below,
Payload of http trigger is,
Logic app trigger is enabled with schema validation,
I have tried to run trigger with below payload,
{
"number":1600,
"street_name":"pennsylvania",
"street_type":7
}
Got error "Failed to start a run of logic app alertschlapp. The input body for trigger 'manual' of type 'Request' did not match its schema definition. Error details: 'Invalid type. Expected String but got Integer.'."
Next modified logic app as shown below,
Added three initialize variables action for number, street_name and street_type
number:
street_name:
street_type:
Ran the logic app with below payload,
"number":1600,
"street_name":"pennsylvania",
"street_type":7
Logic app failed with below error,
In this way, you can find out which field value is causing issue.
I have one simple Entity its working fine(GET, POST, PUT, DELETE). but, if ID not found in database. i was trying to display an error message saying "ID not found!" but i failed to do it in methode(GET,PUT, DELETE). here is my exemple: laste id 10 in database, but the URL domaine/api/entity/11
I'm making a call to the LinkedIn API to retrieve the full list of posts by my organization but keep getting the error;
Field Value validation failed in PARAMETER: Data Processing Exception while processing fields [/authors]
I believe I have all the necessary permissions (r_organization_social to be specific);
r_1st_connections_size, r_ads, r_ads_reporting, r_basicprofile, r_emailaddress, r_liteprofile, r_organization_social, rw_ads, rw_organization_admin, w_member_social, w_organization_social
Here's my request;
https://api.linkedin.com/v2/ugcPosts?q=authors&authors=List({COMPANY_URN_URLENCODED})&oauth2_access_token={LINKEDIN_ACCESS_TOKEN}
It's the same result if the URN isn't URL encoded.
I'm following steps here - https://learn.microsoft.com/en-us/linkedin/marketing/integrations/community-management/shares/ugc-post-api#find-ugc-posts-by-authors
Any ideas?
Try this link:
https://api.linkedin.com/v2/ugcPosts?q=authors&authors=List(urn%3Ali%3Aorganization%3Acompany_id)&sortBy=LAST_MODIFIED
Replace company_id with your company id
I have used this as my api call to retrieve my company posts.
We are facing below exception, while create multiple ads for "Mobile App install"
Marked for retry: Received Facebook error response of type Exception: Duplicate OG Action -- These exact parameters have been used to publish a previous action with ID
I have created a small BizTalk application which has a single dynamic send port with the Delivery Notification == transmitted.
The send port is configured to a folder path and when the folder is not exist it suspends the orchestration. When I try to resume the orchestration after creating the folder. I'm getting two instances in the BizTalk query expression. the instance err messages are
Status : Suspend(Not resumable)
Error code : 0xC0C01B4e (Routing Failure Report)
Routing Failure Report for "Routing Failure Report for """
Status : Suspend(resumable)
Error code : 0xc0c01b02
Error Description: The published message could not be routed because no subscribers were found.
NOTE:
I'm getting this error message only when I set the Delivery notification == transmitted
This works fine in some environment.
it might be because the pipeline define in the receive location was not set to be an XML pipeline. Change the pipeline and it should work.
There will always be 2 failure instances in case of routing failure:
First is a non resumable, information only "Routing failure report".
Second is the actual message which was not routed because no subscriber found. Hence "the published message could not be routed because no subscribers were found." This is similar to "Exception occurred when persisting state to the database." error message we see in case of Orchestration routing failures.
Now whats is the difference:
The Suspend(resumable)instance will have the message body present, and you will be able see the contents(body) of the message. However the context properties of that message won't help you finding the reason of routing failure.
However the Suspended(Not resumable) message will have the required "Context properties" which will help you determine the reason of routing failure. That's why we see following
"This service instance exists to help debug routing failures for instance "{your message instance id}". The context of the message associated with this instance contains all the promoted properties at the time of the routing failure."