Skip to main content
Question

Affinity error: The app returned "Field organization_id: expected 296568492 to be a valid id for model Affinity::Models::Company: 0

  • May 3, 2024
  • 3 replies
  • 46 views

Forum|alt.badge.img

Hello,

I have a pretty simple zap that SOMETIMES gives this error and i can’t figure out why.

Basically the interested part of the zap does two things:

  1. Creates the organization in Affinity
  2. Add it to a list

It works 90% of the time but in rare cases it fails to add the org to the list giving this error:

Here’s the zap:

It’s just the 4 steps that gives this error and then skips to the point 6 (then it does everything else correctly).

I can’t figure out what’s going on especially because it works almost always and then it doesn’t for some submissions.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • May 3, 2024

Hi @mc_vento 

Try adding a Delay step between Steps 3 and 4.

It may be that Affinity hasn’t finished processing the creation of a new Org by the time it is trying to be assigned to the list in the following step.

 


Forum|alt.badge.img
  • Author
  • Beginner
  • May 14, 2024

Hi @mc_vento 

Try adding a Delay step between Steps 3 and 4.

It may be that Affinity hasn’t finished processing the creation of a new Org by the time it is trying to be assigned to the list in the following step.

 

Hi Troy,

I added the delay and I thought the problem was solved, but I still get the error from time to time and it’s very frustrating.


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • May 15, 2024

Hi @mc_vento,

You might be running into a bug here. I’d recommend reaching out to our Support Team to investigate this further since they have the correct tools to dig deeper into the logs.

You can reach our Support Team here: https://zapier.com/app/get-help

I appreciate your patience and understanding.