I'm getting this error on a signed embed:
ERROR: operator does not exist: integer = character varying Hint: No operator matches the given name and argument types. You might need to add explicit type casts. Position: 81
I checked github and saw there is an issue related to this message , but I couldn't understand how it applies to me.
I'm using a sqlite database and the public version of the dashboard works perfectly:
https://metabase.gregory-ms.com/public/dashboard/7455fc3e-c775-4958-9046-14215c75ca73
Not quite sure what was happened because at first it was working fine, until I tried to add a date filter.
To fix it, I reverted to a version without filters, but the issue persists.
In case it's relevant, this data comes from two tables and I'm saving the signed urls in a json file .
so far this looks like it's related to inconsistent timestamp data, I'm trying to resolve it.
update: fixed the timestamp but the problem still occurs.
flamber
December 12, 2021, 9:49am
3
@brunoamaral SQLite is different from other databases, and for some reason it allows mixed timestamps in the same column, which is just extremely confusing.
But you'll need to include "Diagnostic Info" from Admin > Troubleshooting, and the full stacktrace from Admin > Troubleshooting > Logs.
The error looks like it's coming from Postgres, not SQLite, which indicates that the problem is elsewhere.
Sqlite has a lot of flaws and I barely worked with databases before this project, so the problem may be on my side.
The logs are here:
debug.info
{
"browser-info": {
"language": "en-GB",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
This file has been truncated. show original
metabase.log
<div class="rounded bordered bg-light" style="font-family: "Lucida Console", Monaco, monospace; font-size: 14px; white-space: pre; padding: 1em; overflow-x: scroll;"><span class="">[2581b1ec-5756-4b63-b307-c783a7fd8365] 2021-12-12T09:18:00+00:00 INFO metabase.sync.util </span><span class="react-ansi-style-magenta">FINISHED: step 'sync-fks' for sqlite Database 2 'Gregory' (11.9 ms)</span><span class="">
[2581b1ec-5756-4b63-b307-c783a7fd8365] 2021-12-12T09:18:00+00:00 INFO metabase.sync.util </span><span class="react-ansi-style-magenta">STARTING: step 'sync-metabase-metadata' for sqlite Database 2 'Gregory'</span><span class="">
[2581b1ec-5756-4b63-b307-c783a7fd8365] 2021-12-12T09:18:00+00:00 INFO metabase.sync.util </span><span class="react-ansi-style-magenta">FINISHED: step 'sync-metabase-metadata' for sqlite Database 2 'Gregory' (1.9 ms)</span><span class="">
[2581b1ec-5756-4b63-b307-c783a7fd8365] 2021-12-12T09:18:00+00:00 INFO metabase.sync.util </span><span class="react-ansi-style-magenta">FINISHED: Sync metadata for sqlite Database 2 'Gregory' (132.0 ms)</span><span class="">
[2581b1ec-5756-4b63-b307-c783a7fd8365] 2021-12-12T09:18:00+00:00 INFO metabase.sync.util </span><span class="react-ansi-style-magenta">STARTING: Analyze data for sqlite Database 2 'Gregory'</span><span class="">
[2581b1ec-5756-4b63-b307-c783a7fd8365] 2021-12-12T09:18:00+00:00 INFO metabase.sync.analyze </span><span class="react-ansi-style-blue">fingerprint-fields Analyzed [*******ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท] ๐ 14% Table 5 'articles'</span><span class="">
[2581b1ec-5756-4b63-b307-c783a7fd8365] 2021-12-12T09:18:00+00:00 INFO metabase.sync.util </span><span class="react-ansi-style-magenta">STARTING: step 'fingerprint-fields' for sqlite Database 2 'Gregory'</span><span class="">
[2581b1ec-5756-4b63-b307-c783a7fd8365] 2021-12-12T09:18:00+00:00 INFO metabase.sync.analyze </span><span class="react-ansi-style-blue">fingerprint-fields Analyzed [**************ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท] ๐ 29% Table 7 'trials'</span><span class="">
[2581b1ec-5756-4b63-b307-c783a7fd8365] 2021-12-12T09:18:00+00:00 INFO metabase.sync.util </span><span class="react-ansi-style-magenta">FINISHED: step 'fingerprint-fields' for sqlite Database 2 'Gregory' (16.0 ms)</span><span class="">
[2581b1ec-5756-4b63-b307-c783a7fd8365] 2021-12-12T09:18:00+00:00 INFO metabase.sync.util </span><span class="react-ansi-style-magenta">STARTING: step 'classify-fields' for sqlite Database 2 'Gregory'</span><span class="">
This file has been truncated. show original
flamber
December 13, 2021, 9:32am
5
@brunoamaral You're generating a dashboard ID string instead of integer:
{
"resource": {
"dashboard": "2"
},
"params": {},
"exp": 1639342874
}
1 Like