Giter Club home page Giter Club logo

Comments (5)

sixtysticks avatar sixtysticks commented on June 7, 2024

+1

from chatgpt-flutter-aichatbot.

SANKARAMDAS avatar SANKARAMDAS commented on June 7, 2024

Same here.

I/flutter ( 1195): have Error [429] => Data: {error: {message: The server had an error while processing your request. Sorry about that!, type: server_error, param: null, code: null}}
E/flutter ( 1195): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: DioError [DioErrorType.response]: Http status error [429]
E/flutter ( 1195): Source stack:
E/flutter ( 1195): #0 DioMixin.fetch (package:dio/src/dio_mixin.dart:488:35)
E/flutter ( 1195): #1 DioMixin.request (package:dio/src/dio_mixin.dart:483:12)
E/flutter ( 1195): #2 DioMixin.post (package:dio/src/dio_mixin.dart:97:12)
E/flutter ( 1195): #3 ChatGPT._completeText (package:chat_gpt_sdk/src/chat_gpt_api.dart:94:11)
E/flutter ( 1195): #4 ChatGPT.onCompleteStream (package:chat_gpt_sdk/src/chat_gpt_api.dart:86:5)
E/flutter ( 1195): #5 _ChatScreenState._sendMessage (package:chat_bot_chatgpt/chat_Screen.dart:75:12)
E/flutter ( 1195): #6 _ChatScreenState._buildTextComposer. (package:chat_bot_chatgpt/chat_Screen.dart:115:17)
E/flutter ( 1195): #7 _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1096:21)
E/flutter ( 1195): #8 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:253:24)
E/flutter ( 1195): #9 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:627:11)
E/flutter ( 1195): #10 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:306:5)
E/flutter ( 1195): #11 BaseTapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:239:7)
E/flutter ( 1195): #12 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:615:9)
E/flutter ( 1195): #13 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98:12)
E/flutter ( 1195): #14 PointerRouter._dispatchEventToRoutes. (package:flutter/src/gestures/pointer_router.dart:143:9)
E/flutter ( 1195): #15 _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:625:13)
E/flutter ( 1195): #16 PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141:18)
E/flutter ( 1195): #17 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127:7)
E/flutter ( 1195): #18 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:460:19)
E/flutter ( 1195): #19 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:440:22)
E/flutter ( 1195): #20 RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:336:11)
E/flutter ( 1195): #21 GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:395:7)
E/flutter ( 1195): #22 GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:357:5)
E/flutter ( 1195): #23 GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:314:7)
E/flutter ( 1195): #24 GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:295:7)
E/flutter ( 1195): #25 _invoke1 (dart:ui/hooks.dart:164:13)
E/flutter ( 1195): #26 PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:361:7)
E/flutter ( 1195): #27 _dispatchPointerDataPacket (dart:ui/hooks.dart:91:31)
E/flutter ( 1195):
E/flutter ( 1195): #0 DioMixin.fetch. (package:dio/src/dio_mixin.dart:643:7)
E/flutter ( 1195): #1 _RootZone.runBinary (dart:async/zone.dart:1665:54)
E/flutter ( 1195): #2 _FutureListener.handleError (dart:async/future_impl.dart:162:22)
E/flutter ( 1195): #3 Future._propagateToListeners.handleError (dart:async/future_impl.dart:779:47)
E/flutter ( 1195): #4 Future._propagateToListeners (dart:async/future_impl.dart:800:13)
E/flutter ( 1195): #5 Future._completeError (dart:async/future_impl.dart:575:5)
E/flutter ( 1195): #6 _SyncCompleter._completeError (dart:async/future_impl.dart:51:12)
E/flutter ( 1195): #7 _Completer.completeError (dart:async/future_impl.dart:23:5)
E/flutter ( 1195): #8 Future.any.onError (dart:async/future.dart:617:45)
E/flutter ( 1195): #9 _RootZone.runBinary (dart:async/zone.dart:1665:54)
E/flutter ( 1195): #10 _FutureListener.handleError (dart:async/future_impl.dart:162:22)
E/flutter ( 1195): #11 Future._propagateToListeners.handleError (dart:async/future_impl.dart:779:47)
E/flutter ( 1195): #12 Future._propagateToListeners (dart:async/future_impl.dart:800:13)
E/flutter ( 1195): #13 Future._completeError (dart:async/future_impl.dart:575:5)
E/flutter ( 1195): #14 Future._asyncCompleteError. (dart:async/future_impl.dart:666:7)
E/flutter ( 1195): #15 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
E/flutter ( 1195): #16 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)

from chatgpt-flutter-aichatbot.

krishnawithcoder avatar krishnawithcoder commented on June 7, 2024

external static Never _throw(Object error, StackTrace stackTrace)

from chatgpt-flutter-aichatbot.

FrancisIje avatar FrancisIje commented on June 7, 2024

Has anyone fixed this?

from chatgpt-flutter-aichatbot.

iampawan avatar iampawan commented on June 7, 2024

Fixed in latest commit

from chatgpt-flutter-aichatbot.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.