dabit3 / dabit3/react-native-ai

Error when attaching image to open ai assitant

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
169
PR merge metrics
No merged PRs in 30d

Description

when I attach an image or any file to the open ai asistnt page on rn app the request fails on the font end saying

error:  [TypeError: Network request failed]

this request does not reach the server.
When i dont attach an image all is working fine, I am using ngrok to send my request to my local server.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the React Native OpenAI assistant page and trace the request made when an image or other file is attached, then compare it with the working request without an attachment. Confirm the request reaches the local server through ngrok and that the attached-file case no longer reports a network failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
ai, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.