'dict' object has no attribute 'strip' while testing tableau output tool
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Error: Tableau Output (1): 'dict' object has no attribute 'strip'
The tableau connection was made with new data source and credentials .
On running the error occurred.
Please let me know if any more details are required .
- Labels:
- Topic of Interest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@ANsuAlex - what version of AYX Designer and what version of the Tableau Output Tool are you running? Do you have a screenshot of your configuration? Have you opened a support case? https://community.alteryx.com/t5/Support/bd-p/SupportPage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@JessieC
Alteryx Designer x64 BETA
Version: 2022.3.50.316 Beta
This is the version I used, can you please guide how to find the version of the tableau output tool.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@ANsuAlex - you can hover over the tool icon in the palette to see what version -
Since you're on a BETA version of AYX, I would submit your feedback directly to the Product team - https://pilotprogram.alteryx.com/ - They are also currently accepting feedback for Tableau 1.2 BETA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The error message 'dict' object has no attribute 'strip' in the context of testing a Tableau output tool suggests that your code is attempting to use the strip method on a dictionary object. The strip method is typically used to remove whitespace from the beginning and end of a string, so it's not applicable to dictionary objects. This error can arise in various scenarios, particularly in data processing or transformation tasks. Here's how to address it:
Identify the Erroneous Code: Locate the part of your code where this error is occurring. The error message should give you a line number or some context. Look for a .strip() method call.
Check the Data Type: Ensure that the variable you are calling .strip() on is indeed a string. If it's supposed to be a string but is coming through as a dictionary, there may be an issue with how your data is being formatted or parsed earlier in your code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Came here whilst researching the same error.
Is this advice aimed at Alteryx themselves?
There is no coding involved here from the end user side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm getting the same error. Has anyone found a solution? I've tried deleting the old Tableau output and adding a new one. Changed select tool before output so that DateTime is Date instead (this has been a problem in the past with Tableau output). I'm open to suggestions.
