# Workflow Automation: Errors and Troubleshooting Tips

When your flows aren’t working as expected, the best first step is to **check the Flow Logs**.

Most errors will appear in the **Errors Only** view. For more complex issues or to trace the sequence of actions, review the **Actions Only** or **Everything** views for detailed insights.

To stop a flow from running, simply **deactivate** it.

> **Tip:**
>
> The **Developer Page** for the Podio app is useful not only for troubleshooting hook events but also for diagnosing field-specific errors by referencing the Field ID.

Below you will find multiple Error messages along with their Symptoms, Causes and solutions.

## ERROR

| **Symptom**                                       | **Cause**                                                         | **Solution**                            |
| ------------------------------------------------- | ----------------------------------------------------------------- | --------------------------------------- |
| Could not authenticate to Podio with sharing user | Sharing action uses a member who is not an Admin of the workspace | Adjust the “Shared By” user to an Admin |

## FatalPHPError

| **Symptom**       | **Cause**                                   | **Solution**                                                               |
| ----------------- | ------------------------------------------- | -------------------------------------------------------------------------- |
| Memory Exhausted! | Collecting too many items overwhelms memory | Reduce the number of items being collected. Check here for more PHP errors |

## PHPError

| **Symptom**                                     | **Cause**                          | **Solution**                                            |
| ----------------------------------------------- | ---------------------------------- | ------------------------------------------------------- |
| PHP Error in eval: ""=="" (calculation invalid) | Calculation error in a Flow action | Use Simulate Vars on a Podio item to check calculations |

## PodioBadRequestError

| **Symptom**                                                          | **Cause**                                                                           | **Solution**                                                                                                                                    |
| -------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Missing mandatory field name                                         | Required field token is blank or missing data                                       | Check data in field tokens; if a field is required, ensure it has a value before triggering the flow                                            |
| The referenced item is not valid                                     | Referenced item is deleted or invalid                                               | Remove the referenced item and replace with a valid item                                                                                        |
| Multiple is not allowed for field '##'                               | Attempting to set multiple values on a field that doesn't allow multiple selections | In the destination Podio app, allow multiple choice for Category/Relationship/Contact fields or correct the field id via the app developer page |
| Invalid value '##' (string): must be integer or object               | Contact field token returns a string where an integer/object is required            | Wrap the token in intval() to force an integer                                                                                                  |
| A value is required for either 'start', 'start_date', or 'start_utc' | Action updates End Date only (missing Start Date)                                   | Add a step to update the date field using the item's current value (start date)                                                                 |
| Invalid value '31 Mar 2017' (string): Must be date in YYYY-MM-DD     | Date token is not in Podio's required format                                        | Create a custom variable to format the date as YYYY-MM-DD                                                                                       |
| field.app.deleted                                                    | Field was deleted or changed in Podio                                               | Refresh from Podio in Workflow Automation to update app data                                                                                    |
| Last view can only be used by users                                  | Get View action cannot collect the specified view                                   | Refresh from Podio and confirm the action collects the correct view; resave the flow                                                            |

## PodioForbiddenError

| **Symptom**                                                               | **Cause**                                                                           | **Solution**                                                                            |
| ------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| Must be at least light on user to perfom this operation                   | Contact in the specified field is not (or no longer) a workspace member             | Remove the contact member before triggering the flow                                    |
| The app with id ## does not have the right view on profile with id ##     | Contact reference is not a valid member in the destination workspace                | Add the user in the contact field to the destination workspace, or remove from the item |
| The app with id ## does not have the right comment on item with id ##     | App settings do not allow comments                                                  | Update app settings; refresh from Podio in Workflow Automation                          |
| The app with id ## does not have the right update on item with id ##      | App does not permit edits by users                                                  | Enable edits in app settings or change Action Authentication to an Admin member         |
| The app with id ## does not have the right add_file on item with id ##    | App does not allow files to be added to items                                       | Enable files in app settings (Modify Template > wrench)                                 |
| The user with id ## does not have the right view on widget with id ##     | Main account user is not an Admin of the workspace (insufficient widget privileges) | Promote main account user to Admin in the app/workspace                                 |
| The user with id ## does not have the right grant_view on item with id ## | Sharing user is on a Basic/Free plan                                                | Upgrade to Podio Plus or Premium                                                        |

## PodioGoneError

| **Symptom**           | **Cause**                                                                          | **Solution**                                                                                             |
| --------------------- | ---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| Gone                  | App changes not synchronized into Workflow Automation                              | Refresh from Podio to update workspaces                                                                  |
| Item has been deleted | Flow triggered on an item that was deleted (often on date-trigger midnight runs)   | Resave date-triggered flows and/or add a Wait/Delay before any delete step                               |
| File has been deleted | Workflow Automation tried to download/access a file or image that no longer exists | Ensure the image/file is from a public source and avoid race conditions (other flows deleting the image) |

## PodioInvalidGrantError

| **Symptom**                         | **Cause**                                                                        | **Solution**                                                                  |
| ----------------------------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| Sorry, your OAuth grant has expired | Podio auth token is invalid (API key revoked, password changed, long inactivity) | Main account/sharing user must sign in to Workflow Automation to re-authorize |

## PodioNotFoundError

| **Symptom**                                                     | **Cause**                                                 | **Solution**                                                      |
| --------------------------------------------------------------- | --------------------------------------------------------- | ----------------------------------------------------------------- |
| No matching operation could be found. Missing parameters:source | Attempt to attach a file to Podio but the file is missing | Ensure the file exists before attach; commonly occurs with images |

## PodioUnavailableError

| **Symptom**                     | **Cause**                                                                         | **Solution**                                                                   |
| ------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| Single API call generated a 504 | API call temporarily unavailable; flow continues but results may be unpredictable | Check all involved items for consistent data; use log to get relevant item IDs |

## RightSignatureError

| **Symptom**                                                               | **Cause**                                                                                    | **Solution**                                                                          |
| ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| Number of names does not match number of email addresses (omitting names) | Email/name counts do not match RightSignature template roles                                 | Ensure number of emails equals number of names and matches roles in the RS template   |
| There was an error with your RightSignature integration. Please reconnect | One of more fields in the RS action block are empty/invalid                                  | Fill all fields in the RightSignature Template Action; reconnect RS account if needed |
| Exit with code 1 due to network error: ProtocolUnknownError               | Workflow Automation cannot access/read a resource used by the PDF (script/style unavailable) | Ensure all PDF resources are hosted and accessible                                    |

## SMSError

| **Symptom**                                             | **Cause**                                                                 | **Solution**                                  |
| ------------------------------------------------------- | ------------------------------------------------------------------------- | --------------------------------------------- |
| Failed sending SMS to +119999999999 - Invalid recipient | Phone number format invalid                                               | Adjust phone number to correct format         |
| Failed sending SMS to +119999999999 - Throttled         | Service blocks multiple messages to the same number within short interval | Wait at least 60 seconds between SMS messages |

## SMTPError

| **Symptom**                                                                | **Cause**                                                                                   | **Solution**                                               |
| -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| Failed sending email: "SMTP Error: Data not accepted" (PHPMailer)          | Microsoft Office requires email to be sent by the authenticated user; From address mismatch | Update the From Address to match SMTP login credentials    |
| Failed sending through smpt.gmail.com: "SMTP Connect() failed" (PHPMailer) | Assigned SMTP server failed to connect/credentials incorrect                                | Disconnect SMTP, re-enter credentials, send a test message |

## Warning

| **Symptom**                                       | **Cause**                                                                      | **Solution**                                                                      |
| ------------------------------------------------- | ------------------------------------------------------------------------------ | --------------------------------------------------------------------------------- |
| Flow had to fetch more than 1000 items from Podio | Collecting too many items on a date-triggered flow (e.g, using < or > filters) | Filter only on date field EQUAL to current date; see Throttling Webhooks guidance |

## Find Error

| **Symptom**                                                       | **Cause**                     | **Solution**                                                                                               |
| ----------------------------------------------------------------- | ----------------------------- | ---------------------------------------------------------------------------------------------------------- |
| Find Error: too many results for **SOMETHING** (truncating at 99) | Search returns too many items | Revise search criteria to reduce results; if using multiple collectors, use Clear Collected to reduce load |
