graphql-engine icon indicating copy to clipboard operation
graphql-engine copied to clipboard

TypeError: d.forEach is not a function

Open dmeth94 opened this issue 1 year ago • 9 comments

Version Information

v2.40.2 Server Version: CLI Version (for CLI related issue):

Environment

What is the current behaviour?

When I click on certain Tables in Data it gives me this error below

What is the expected behaviour?

How to reproduce the issue?

Screenshots or Screencast

image

Please provide any traces or logs that could help here.

Any possible solutions/workarounds you're aware of?

Keywords

dmeth94 avatar Jan 02 '25 18:01 dmeth94

@dmeth94 — can you please provide some steps to reproduce this error?

robertjdominguez avatar Jan 02 '25 18:01 robertjdominguez

I log into Hasura, click on the DATA tab in Company data base I open a Table called Facilities or External Credentials and this error pops up. Can it be something my filter is blocking? If yes what are the exact URLS I need my filter to unblock?

Dassy Meth

Customer Support

Careflow Software Solutions

The information contained in this transmission may contain confidential and privileged information, including patient information protected by federal and state privacy laws. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution, or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply by email and destroy all copies of the original message.

On Thu, Jan 2, 2025 at 1:56 PM Rob Dominguez @.***> wrote:

@dmeth94 https://github.com/dmeth94 — can you please provide some steps to reproduce this error?

— Reply to this email directly, view it on GitHub https://github.com/hasura/graphql-engine/issues/10643#issuecomment-2568226426, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLRR2GZPPIJD7NP7CN5GTTT2IWDUDAVCNFSM6AAAAABUQL3XHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRYGIZDMNBSGY . You are receiving this because you were mentioned.Message ID: @.***>

dmeth94 avatar Jan 02 '25 19:01 dmeth94

@dmeth94 — you can see the domain in the error:

https://graphql-engine-cdn.hasura.io

Alternatively, if this is the issue, you can load the assets directly using this environment variable:

HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets

Additionally, before proceeding, it would be helpful to clear your browser's cache.

Can you provide some more background:

  • Is this a new instance of Hasura, or was this functioning before you opened the issue?

robertjdominguez avatar Jan 02 '25 19:01 robertjdominguez

I'm not sure how to set that up to use the environment variable. I would like to just keep it how I was using it before. I deleted the cache but it did not help.

Yes, this is a new thing on Hasura. Unfortunately this came up in the past 2 days. I have been using it without any issues for the past 10 months. Is there anything you can recommend me doing to fix this? No one else on my team is having this problem.

Dassy Meth

Customer Support

Careflow Software Solutions

The information contained in this transmission may contain confidential and privileged information, including patient information protected by federal and state privacy laws. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution, or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply by email and destroy all copies of the original message.

On Thu, Jan 2, 2025 at 2:56 PM Rob Dominguez @.***> wrote:

@dmeth94 https://github.com/dmeth94 — you can see the domain in the error:

https://graphql-engine-cdn.hasura.io

Alternatively, if this is the issue, you can load the assets directly using this environment variable https://hasura.io/docs/2.0/deployment/graphql-engine-flags/config-examples/#console-assets-on-server :

HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets

Additionally, before proceeding, it would be helpful to clear your browser's cache.

Can you provide some more background:

  • Is this a new instance of Hasura, or was this functioning before you opened the issue?

— Reply to this email directly, view it on GitHub https://github.com/hasura/graphql-engine/issues/10643#issuecomment-2568296921, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLRR2GYBQTMJPAB2BVR56KT2IWKVNAVCNFSM6AAAAABUQL3XHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRYGI4TMOJSGE . You are receiving this because you were mentioned.Message ID: @.***>

dmeth94 avatar Jan 03 '25 15:01 dmeth94

If no one else on your team is having this issue, I'd recommend allowing https://graphql-engine-cdn.hasura.io via your filter.

Additionally, if this started 2 days ago, it'd be helpful to think back to any environment changes you made on your local machine that could cause this behavior.

Additionally, trying different browsers may be helpful as well.

robertjdominguez avatar Jan 03 '25 15:01 robertjdominguez

I unblocked that but its still not working. I didn't make any changes on my machine.

Dassy Meth

Customer Support

Careflow Software Solutions

The information contained in this transmission may contain confidential and privileged information, including patient information protected by federal and state privacy laws. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution, or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply by email and destroy all copies of the original message.

On Fri, Jan 3, 2025 at 10:42 AM Rob Dominguez @.***> wrote:

If no one else on your team is having this issue, I'd recommend allowing https://graphql-engine-cdn.hasura.io via your filter.

Additionally, if this started 2 days ago, it'd be helpful to think back to any environment changes you made on your local machine that could cause this behavior.

Additionally, trying different browsers may be helpful as well.

— Reply to this email directly, view it on GitHub https://github.com/hasura/graphql-engine/issues/10643#issuecomment-2569437258, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLRR2GZLYZAUWUNG2ROY2532I2VXTAVCNFSM6AAAAABUQL3XHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRZGQZTOMRVHA . You are receiving this because you were mentioned.Message ID: @.***>

dmeth94 avatar Jan 03 '25 16:01 dmeth94

I've passed this onto the folks who work on the console; we'll get back to you ASAP.

robertjdominguez avatar Jan 03 '25 16:01 robertjdominguez

Sounds good, thanks!

Dassy Meth

Customer Support

Careflow Software Solutions

The information contained in this transmission may contain confidential and privileged information, including patient information protected by federal and state privacy laws. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution, or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply by email and destroy all copies of the original message.

On Fri, Jan 3, 2025 at 11:44 AM Rob Dominguez @.***> wrote:

I've passed this onto the folks who work on the console; we'll get back to you ASAP.

— Reply to this email directly, view it on GitHub https://github.com/hasura/graphql-engine/issues/10643#issuecomment-2569521935, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLRR2G37WEEM5S23VDJK5R32I246TAVCNFSM6AAAAABUQL3XHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRZGUZDCOJTGU . You are receiving this because you were mentioned.Message ID: @.***>

dmeth94 avatar Jan 03 '25 16:01 dmeth94

Hi @dmeth94! Let's get to the bottom of this issue. Could you help me by answering some quick questions to understand your setup? I want to know why it's working for your colleagues but not for you.

  1. Browser Details

    • Which browser are you using? [e.g., Chrome, Firefox, Safari]: ______
    • Browser version (you can find this in Help -> About): ______
  2. Quick Checks (please try these and note if they fix the issue)

    • Does it work in incognito/private mode? [Yes/No]: ______
    • Does it work in a different browser? [Yes/No]: ______
  3. Network Setup

    • Are you using a VPN? [Yes/No]: ______
    • Are you on a corporate network? [Yes/No]: ______
    • Do your colleagues use the same network setup? [Yes/No]: ______
  4. Browser Extensions

    • Do you have any ad blockers or security extensions? [Yes/No]: ______
    • If yes, could you try disabling them temporarily? [Tried/Not tried]: ______
  5. Other Tables

    • Can you access other tables besides Facilities and External Credentials? [Yes/No]: ______
    • If some tables work and others don't, what's different about them?: ______

Additional Comments (anything else you think might be relevant):


julian-mayorga avatar Jan 06 '25 13:01 julian-mayorga