-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Issue tracker is ONLY used for reporting bugs. New feature suggestions and questions should be discussed on Community or submitted through our user feedback form.
Your issue may already be reported! Please search in the issue tracker before creating one.
Please thumbs up this issue if you have also experienced it. You may also add more information if there is something relevant that was not mentioned. However, please refrain from comments that are not constructive, like "I have this problem too", etc.
Expected behavior (required)
The GET response should return a JSON formatted table from Google Cloud Storage. (See Image for Postman response)
Current behavior (required)
The API call gives 'Status: 200 (Success)' but is null. (See image). Dropping the ?alt=media portion gives the object metadata succesfully. I believe this issue started after the v3.0 Flutterflow updates.
To Reproduce (required)
- in FF, Define a new API Call as 'GET https://storage.googleapis.com/storage/v1/b/pool-party-e4d98.appspot.com/o/firebasetable?alt=media'
- Test API Call
Bug Report Code
FutureBuilder(
future: GetBigQueryCall.call(),
builder: (context, snapshot) {
// Customize what your widget looks like when it's loading.
if (!snapshot.hasData) {
return Center(
child: SizedBox(
width: 50,
height: 50,
child: CircularProgressIndicator(
color: FlutterFlowTheme.of(context).primaryColor,
),
),
);
}
final columnGetBigQueryResponse = snapshot.data!;
return Builder(
builder: (context) {
final body = getJsonField(
columnGetBigQueryResponse.jsonBody,
r'''$''',
).toList();
return Column(
mainAxisSize: MainAxisSize.max,
children: List.generate(body.length, (bodyIndex) {
final bodyItem = body[bodyIndex];
return StreamBuilder<List>(
stream: querySelectionsRecord(
queryBuilder: (selectionsRecord) =>
selectionsRecord.orderBy('game_id'),
),
builder: (context, snapshot) {
// Customize what your widget looks like when it's loading.
if (!snapshot.hasData) {
return Center(
child: SizedBox(
width: 50,
height: 50,
child: CircularProgressIndicator(
color: FlutterFlowTheme.of(context).primaryColor,
),
),
);
}
List textSelectionsRecordList =
snapshot.data!;
return Text(
getJsonField(
columnGetBigQueryResponse.jsonBody,
r'''$''',
).toString(),
style: FlutterFlowTheme.of(context).bodyText1,
);
},
);
}),
);
},
);
},
)
Context (required)
I am unable to load the necessary data from Google Cloud Storage for my app.
Screenshots / recordings
Your environment
- Version of FlutterFlow used: v3.0
- Platform (e.g. Web, MacOS Desktop): Web
- Browser name and version: Chrome
- Operating system and version (desktop or mobile): MacOS Monterey (Version 12.6.1)