cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

On bucket creation. "Schema validation has failed. Validation for field 'PlanId'"

Hi,

 

I am hoping someone may be able to help?

 

I am trying to create various buckets in planner, I will be focusing on just one for this discussion. I would like to take three data points from forms to point towards the PlanId where I would like the bucket created (Will have to manually create these plans as far as I can tell for now 😞 ). In this instance for testing the flow, the data from those form fields is A, B & C which gives ABC. In future planning to be customer details.

 

Create a Bucket.JPG

As below I have previously created a plan called ABC in planner.

 

ABC Plan.JPG

 

However when I test run the flow I get the following error. As you can see the data from the forms comes through as ABC in the PlanId field. But it appears to be failing to from my limited knowledge see the plan?

 

Bad Request.JPG

 

I have also go the following information expanded out from the above.

 

Headers

 

request-id

98c8d5f8-24fb-49fc-8ef6-513d15e13b68

client-request-id

98c8d5f8-24fb-49fc-8ef6-513d15e13b68

x-ms-ags-diagnostic

{"ServerInfo":{"DataCenter":"West US","Slice":"SliceC","Ring":"5","ScaleUnit":"003","Host":"AGSFE_IN_58","ADSiteName":"WUS"}}

Duration

64.4676

Strict-Transport-Security

max-age=31536000

Timing-Allow-Origin

*

x-ms-apihub-cached-response

true

Cache-Control

private

Date

Wed, 21 Nov 2018 11:25:38 GMT

Content-Length

314

Content-Type

application/json

 

Body

{

  "error": {

    "code": "",

    "message": "Schema validation has failed. Validation for field 'PlanId', on entity 'Bucket' has failed: The specified identifier is invalid.",

    "innerError": {

      "request-id": "98c8d5f8-24fb-49fc-8ef6-513d15e13b68",

      "date": "2018-11-21T11:25:38"

    }

  }

}

 

Anyone know where I am falling downand can advise how to correct?

1 ACCEPTED SOLUTION

Accepted Solutions
v-yamao-msft
Community Support
Community Support

Hi @Anonymous,

 

I am afraid that the Plan Id you specified is invalid.

The field Plan Id requires an Id of the plan. We could either select the plan from the drop down list, or enter the plan Id which we could get from the URL of the plan.

1.PNG

According to your description, it seems that you would like to create buckets under existing plans. Please check the following flow for a reference.

Before creating buckets, add the action "List my plans" to get all the plans then check if the Title of the Plan equals to the one you specified in the forms.

If yes, create a bucket under the corresponding plan.

2.PNG 

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yamao-msft
Community Support
Community Support

Hi @Anonymous,

 

I am afraid that the Plan Id you specified is invalid.

The field Plan Id requires an Id of the plan. We could either select the plan from the drop down list, or enter the plan Id which we could get from the URL of the plan.

1.PNG

According to your description, it seems that you would like to create buckets under existing plans. Please check the following flow for a reference.

Before creating buckets, add the action "List my plans" to get all the plans then check if the Title of the Plan equals to the one you specified in the forms.

If yes, create a bucket under the corresponding plan.

2.PNG 

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-yamao-msft

 

Brilliant, I had to tailor slightly for needs but that worked a treat.

 

Thank you so much for your help :-).

 

Kind Regards,

 

Niall

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,435)